import type { AppRouteModule } from '@/router/types'
import { LAYOUT } from '@/router/constant'

const unAuth: AppRouteModule[] = [
  {
    path: '/reset',
    name: '修改密码',
    component: LAYOUT,
    redirect: '/reset/password',
    meta: {
      hideChildrenInMenu: true,
      icon: 'ant-design:alert-outlined',
      title: '修改密码',
    },
    children: [
      {
        path: 'password',
        name: 'Password',
        component: () => import('@/views/system/password/index.vue'),
        meta: {
          title: '修改密码',
          hideMenu: true,
        },
      },
    ],
  },
]

export default unAuth
